package com.example.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 功能
 * 作者:江哥
 * 日期:2023/12/10 16:25
 */
@Data
public class Comment implements Serializable {
    private static final long serialVersionUID = 1L;

    /** ID */
    private Integer id;
    /** 评论内容 */
    private String content;
    /** 评论时间 */
    private String time;
    /** 分类ID */
    private Integer typeId;
    /** 酒店ID */
    private Integer HotelId;
    private Integer userId;
    private Integer parentId;
    private String role;

    private String typeName;
    private String hotelName;
    private String userName;
    private String avatar;

    private String reply;

    private List<Comment> children;
}
